import VueRouter from 'vue-router';
import login from './router/login.vue';
import register from './router/register.vue';
import phone from './router/phone.vue';
import qq from './router/qq.vue';
import weixin from './router/weixin.vue';
var router = new VueRouter({
    routes:[
        {
            path: '/login' ,
            component: login ,
            children:[
                { path: '/login/phone' ,component:phone},
                { path: '/login/qq' ,component:qq},
                { path: '/login/weixin' ,component:weixin}
            ]},
        { path: '/register' , component: register}
    ]
})

export default router
